package com.item;

import com.base.CoreConstants;
import com.base.support.PropertySupport;

import java.math.BigDecimal;

public class ConstantsCode extends CoreConstants{

	public static final String WELCOME_IMG = "welcome@sys";//欢迎页
	public static final String OAUTH_LOGIN = "oauthLogin@sys";//第三方登录开关
	public static final String ICON_URL = SERVER_URL + "download?id=";
	public static final String SERVICE_CACHE = "serviceCache";
	public static final boolean MULTI_LOGIN = "true".equals(getProperty("api.login.multi"))?true:false;

	public static final BigDecimal min = new BigDecimal("0.01");
	public static final String MKM_ACT_CACHE_NAME = "fictitiousCache";
	public static final String API_SIGN_CACHE_NAME = "apiSignCache";

	public static final String SUCCESS = "SUCCESS";

	public static final boolean PAY_DEBUG = "true".equals(getProperty("pay.debug","false"));

	public static final String ECODE_URL = getProperty("ecode.url");
	public static final String ECODE_SEED = getProperty("ecode.seed");
	public static final String ECODE_CLIENT_ID= getProperty("ecode.clientId");
	public static final String ECODE_NAME= getProperty("ecode.name");
	public static final String ECODE_CONTACT= getProperty("ecode.contact");
	public static final String ECODE_ADDRESS= getProperty("ecode.address");
	public static final String ECODE_TEL= getProperty("ecode.tel");
	public static final String ECODE_MAIL= getProperty("ecode.mail");
}
